home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6751 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.0 KB  |  29 lines

  1. Newsgroups: comp.lang.c++
  2. Path: br11.bearriver.com!user
  3. From: mdembroge@bearriver.com (Michael Dembroge)
  4. Subject: Missed
  5. Sender: usenet@BearRiver.com (Usenet News)
  6. Message-ID: <mdembroge-0702961420480001@br11.bearriver.com>
  7. Date: Wed, 7 Feb 1996 22:21:20 GMT
  8. Nntp-Posting-Host: br11.bearriver.com
  9. Organization: Bear River Associates
  10.  
  11. Question 1:
  12.    Can somebody please either e-mail me, or re-post "Aborting
  13. Constructors, Part         
  14.    I"?  I am interested in this topic, and missed the first part.
  15.  
  16. Question 2:
  17.    Does anybody know if VC++ 2.2 can handle exceptions in constructors?
  18.  
  19. I program on the Mac at work using MacApp 3.3, and we can not have
  20. constructors that fail.  Our method is to use the constructor's only put
  21. the object into a "safe" state, and then call an "I-method" to initialize
  22. the object.  I have been reading some C++ programming style books that
  23. have constructors that allocate memory, thus can fail.  So, I have been
  24. wondering if it is okay to have constructors that fail when I am at home
  25. working on VC++.
  26.  
  27. Mike Dembroge
  28. mdembroge@bearriver.com
  29.